package com.bytecub.mdm.dao.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name="device_connect_user")
public class DeviceConnectUserPo {
    @Id
    private Long id;

    private String name;

    private String phone;

    private String sex;

    private String age;

    private String lat;

    private String lng;

    private String address;

    private String addressInfo;

    private Integer isDelete = 0;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8" )
    private Date createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8" )
    private Date updateTime;

}
